FileSystemPackageReader.TransmitFile Method (string, HttpResponse)

Writes the requested file from the package directly to the response. This method clears the response before sending the file.

Parent Type: FileSystemPackageReader

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public override void TransmitFile (
string filePath,
HttpResponse response

)

Parameters

filePath

The package-relative path to a file.

response

The response to write to.